{% include "header.html" %}
<h2>{{ series.name }} - {{ contest.name }}</h2>
<center>
{% if contest.icon %}
    <img src="{{ contest.icon.url }}" alt="{{ contest.icon.caption }}" title="{{ contest.icon.caption }}"/>
{% else %}{% if series.icon %}
    <img src="{{ series.icon.url }}" alt="{{ series.icon.caption }}" title="{{ series.icon.caption }}"/>
{% endif %}{% endif %}
</center>
<h3>Descripci&oacute;n</h3>
{% if contest.description %}
    {{ contest.description|safe }}
{% else %}
    {{ series.description|safe }}
{% endif %}
<h3>Reglas</h3>
{{ series.rules.description|safe }}
<h3>Trabajos participantes</h3>
<ul>
{% for submission in contest.submission_set %}
    {% if submission.visible %}
    <li class="submission_item">
        {% if submission.icon %}
            <a href="{{ submission.short_name }}"><img src="{{ submission.icon.url }}{% if not submission.icon.original_url %}/50/50{% endif %}" class="icon inlist" /></a> <br/>
        {% else %}
            <a href="{{ submission.short_name }}"><img src="/static/submission.gif" class="icon inlist" /></a> <br/>
        {% endif %}
        <a href="{{ submission.short_name }}">{{ submission.name }}</a> <br/>
        por <a href="{{ submission.creator.profile }}">{{ submission.creator.nickname }}</a>
    </li>
    {% endif %}
{% endfor %}
</ul>
<div style="clear: both;">&nbsp;</div>
{% include "footer.html" %}